﻿using System.IO;

namespace iwpm.optimization
{
    public class AnalyzeHydroOutput
    {
        public static void Main(string[] args)
        {
            if (!Directory.Exists(args[0] = Path.GetDirectoryName(Path.GetFullPath(args[0]))))
                return; 

            HydroAnalyzer ha = new HydroAnalyzer(args[0]);
            ha.Read();
            ha.WriteAnalysis(); 
        }
    }
}
